type FormType = "input" | "password" | "select" | "datepicker"

export interface FormItem {
  // 字段
  field: string
  type: FormType
  label: string
  rules?: any[]
  placeholder?: any
  // 针对select
  options?: any[]
  // 针对特殊的属性
  otherOptions?: any
  // 是否隐藏
  isHidden?: boolean
}

export interface Form {
  formItems: FormItem[]
  labelWidth?: String
  colLayout?: any
  // itemLayout: any
  itemStyle?: any
}
